import { createRouter, createWebHashHistory } from 'vue-router'

const routes = [
  {
    path: '/',
    component: () => import('@/view/Work/login.vue'),
  },
  {
    path: '/home',
    component: () => import('@/view/Work/index.vue'),
  },
  {
    path: '/detail',
    component: () => import('@/view/Work/detail.vue'),
  },
  { path: '/handleInfo', component: () => import('@/view/Work/handle_info.vue') },
  { path: '/completeInfo', component: () => import('@/view/Work/complete_info.vue') },
  { path: '/transferInfo', component: () => import('@/view/Work/transfer_info.vue') }
]

export const router = createRouter({
  history: createWebHashHistory(),
  routes,
})